<?php

namespace Admin\Controller;

class CommentController extends BaseController {

    public function _initialize() {
        $this->module = '评论';
        $this->module_en = 'Comment';
        parent::_initialize();
    }

    public function lists() {
        $page = I('request.page');
        $pageSize = \Think\Constant::PAGESIZE;
        $this->model = D('CommentView')->page($page, $pageSize)->limit($pageSize)->order('comment_id desc');
        $this->assign('cur_crumb', array(array('name' => '评论')));
        $this->assign('page_title', '评论');
        parent::lists();
    }

    public function replay() {
        
    }

}
